/*
 * Rule.java
 *
 * Created on 19 September 2005.
 */

package org.datamining.guha.rule;

import java.util.List;

import org.datamining.guha.model.literal.Literal;

/**
 * General contract of association rule.
 * 
 * @author Lukas Vlcek
 *
 */
public interface Rule {
    	
	/**
	 * 
	 * @return List of Literals.
	 */
	public List<Literal> getAntecedents();
	
	/**
	 * 
	 * @return List of Literals.
	 */
	public List<Literal> getSuccedents();
	
	/**
	 * String representation of rule. Convenient for plain text output.
	 * @return String representation of rule.
	 */
    public String toString();

	/**
	 * String representation of rule. Convenient for HTML output.
	 * @return String representation of rule.
	 */
    public String toHTML();
}
